﻿@using System.Collections.Generic
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Http.Authentication
@model LoginViewModel
@inject SignInManager<ApplicationUser> SignInManager

@{
    ViewData["Title"] = "登录";
} 
<body class="signin">
    <div class="signinpanel middle-box animated fadeInDown">
        <div class="row">
            <div>
                <h2 class="logo-name">L +</h2>
            </div>
            <h2>欢迎使用 L+ 企业总线平台</h2>
            <form id="signupForm" class="m-t" role="form" method="post" asp-controller="Account" asp-action="Login" asp-route-returnurl="@ViewData["ReturnUrl"]">
                <div class="form-group">
                    <div asp-validation-summary="All" class="text-warning"></div>
                </div>
                <div class="form-group">
                    <input asp-for="Email" class="form-control uname m-b" placeholder="邮箱" />
                    <span asp-validation-for="Email" class="text-warning"></span>
                </div>
                <div class="form-group">
                    <input asp-for="Password" class="form-control pword m-b" placeholder="密码" />
                    <span asp-validation-for="Password" class="text-warning"></span>
                </div>

                <div class="form-group">
                    <input asp-for="RememberMe" />
                    @Html.DisplayNameFor(m => m.RememberMe)
                </div>

                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>

                <p class="text-muted text-center">
                    <a asp-action="ForgotPassword"><small><font color="#ffffff">忘记密码了？  </font></small></a><font color="#ffffff"> | </font><a asp-action="Register"><font color="#ffffff">注册一个新账号</font></a>
                </p>
            </form>

            <div class="signup-footer">
                <div class="pull-left">
                    &copy; 2017 All Rights Reserved. lingopen
                </div>
            </div>
        </div>
    </div>

</body>


